4898d8
@@ -93,7 +93,7 @@
public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl
       }
       retriesMade++;
       LOG.warn("MetaStoreClient lost connection. Attempting to reconnect.",
-          caughtException.getCause());
+          caughtException);
       Thread.sleep(retryDelaySeconds * 1000);
       base.reconnect();
     }
